#include "device.h"
#include "driver.h"
#include "eventmanager.h"

int main(int argc, char **argv)
{
	sp_core::Device* dev = sp_core::Device::CreateDevice("sparwe.conf");
	sp_core::Driver* driver = dev->CreateDriver();

//	sp_core::EventManager* manager = new sp_core::EventManager(dev);
//	manager->Start();
	while(1)
	{
		driver->BeginScene();
		driver->EndScene();

		dev->Update();
	
	}
//	manager->Stop();
	return 0;
}

